<?php
//Lauri Link student 11 25.10.2011

//Teeme andmebaasi värvinimede ja -koodidega

$color[1][name]="AliceBlue";
$color[2][name]="AntiqueWhite";
$color[3][name]="Aqua";
$color[4][name]="Aquamarine";
$color[5][name]="Azure";
$color[6][name]="Beige";
$color[7][name]="Bisque";
$color[8][name]="Black";
$color[9][name]="BlanchedAlmond";
$color[10][name]="Blue";
$color[11][name]="BlueViolet";
$color[12][name]="Brown";
$color[13][name]="BurlyWood";
$color[14][name]="CadetBlue";
$color[15][name]="Chartreuse";
$color[16][name]="Chocolate";
$color[17][name]="Coral";
$color[18][name]="CornflowerBlue";
$color[19][name]="Cornsilk";
$color[20][name]="Crimson";
$color[21][name]="Cyan";
$color[22][name]="DarkBlue";
$color[23][name]="DarkCyan";
$color[24][name]="DarkGoldenRod";
$color[25][name]="DarkGray";
$color[26][name]="DarkGreen";
$color[27][name]="DarkKhaki";
$color[28][name]="DarkMagenta";
$color[29][name]="DarkOliveGreen";
$color[30][name]="Darkorange";
$color[31][name]="DarkOrchid";
$color[32][name]="DarkRed";
$color[33][name]="DarkSalmon";
$color[34][name]="DarkSeaGreen";
$color[35][name]="DarkSlateBlue";
$color[36][name]="DarkSlateGray";
$color[37][name]="DarkTurquoise";
$color[38][name]="DarkViolet";
$color[39][name]="DeepPink";
$color[40][name]="DeepSkyBlue";
$color[41][name]="DimGray";
$color[42][name]="DodgerBlue";
$color[43][name]="FireBrick";
$color[44][name]="FloralWhite";
$color[45][name]="ForestGreen";
$color[46][name]="Fuchsia";
$color[47][name]="Gainsboro";
$color[48][name]="GhostWhite";
$color[49][name]="Gold";
$color[50][name]="GoldenRod";
$color[51][name]="Gray";
$color[52][name]="Green";
$color[53][name]="GreenYellow";
$color[54][name]="HoneyDew";
$color[55][name]="HotPink";
$color[56][name]="IndianRed";
$color[57][name]="Indigo";
$color[58][name]="Ivory";
$color[59][name]="Khaki";
$color[60][name]="Lavender";
$color[61][name]="LavenderBlush";
$color[62][name]="LawnGreen";
$color[63][name]="LemonChiffon";
$color[64][name]="LightBlue";
$color[65][name]="LightCoral";
$color[66][name]="LightCyan";
$color[67][name]="LightGoldenRodYellow";
$color[68][name]="LightGrey";
$color[69][name]="LightGreen";
$color[70][name]="LightPink";
$color[71][name]="LightSalmon";
$color[72][name]="LightSeaGreen";
$color[73][name]="LightSkyBlue";
$color[74][name]="LightSlateGray";
$color[75][name]="LightSteelBlue";
$color[76][name]="LightYellow";
$color[77][name]="Lime";
$color[78][name]="LimeGreen";
$color[79][name]="Linen";
$color[80][name]="Magenta";
$color[81][name]="Maroon";
$color[82][name]="MediumAquaMarine";
$color[83][name]="MediumBlue";
$color[84][name]="MediumOrchid";
$color[85][name]="MediumPurple";
$color[86][name]="MediumSeaGreen";
$color[87][name]="MediumSlateBlue";
$color[88][name]="MediumSpringGreen";
$color[89][name]="MediumTurquoise";
$color[90][name]="MediumVioletRed";
$color[91][name]="MidnightBlue";
$color[92][name]="MintCream";
$color[93][name]="MistyRose";
$color[94][name]="Moccasin";
$color[95][name]="NavajoWhite";
$color[96][name]="Navy";
$color[97][name]="OldLace";
$color[98][name]="Olive";
$color[99][name]="OliveDrab";
$color[100][name]="Orange";
$color[101][name]="OrangeRed";
$color[102][name]="Orchid";
$color[103][name]="PaleGoldenRod";
$color[104][name]="PaleGreen";
$color[105][name]="PaleTurquoise";
$color[106][name]="PaleVioletRed";
$color[107][name]="PapayaWhip";
$color[108][name]="PeachPuff";
$color[109][name]="Peru";
$color[110][name]="Pink";
$color[111][name]="Plum";
$color[112][name]="PowderBlue";
$color[113][name]="Purple";
$color[114][name]="Red";
$color[115][name]="RosyBrown";
$color[116][name]="RoyalBlue";
$color[117][name]="SaddleBrown";
$color[118][name]="Salmon";
$color[119][name]="SandyBrown";
$color[120][name]="SeaGreen";
$color[121][name]="SeaShell";
$color[122][name]="Sienna";
$color[123][name]="Silver";
$color[124][name]="SkyBlue";
$color[125][name]="SlateBlue";
$color[126][name]="SlateGray";
$color[127][name]="Snow";
$color[128][name]="SpringGreen";
$color[129][name]="SteelBlue";
$color[130][name]="Tan";
$color[131][name]="Teal";
$color[132][name]="Thistle";
$color[133][name]="Tomato";
$color[134][name]="Turquoise";
$color[135][name]="Violet";
$color[136][name]="Wheat";
$color[137][name]="White";
$color[138][name]="WhiteSmoke";
$color[139][name]="Yellow";
$color[140][name]="YellowGreen";
$color[1][code]="#F0F8FF";
$color[2][code]="#FAEBD7";
$color[3][code]="#00FFFF";
$color[4][code]="#7FFFD4";
$color[5][code]="#F0FFFF";
$color[6][code]="#F5F5DC";
$color[7][code]="#FFE4C4";
$color[8][code]="#000000";
$color[9][code]="#FFEBCD";
$color[10][code]="#0000FF";
$color[11][code]="#8A2BE2";
$color[12][code]="#A52A2A";
$color[13][code]="#DEB887";
$color[14][code]="#5F9EA0";
$color[15][code]="#7FFF00";
$color[16][code]="#D2691E";
$color[17][code]="#FF7F50";
$color[18][code]="#6495ED";
$color[19][code]="#FFF8DC";
$color[20][code]="#DC143C";
$color[21][code]="#00FFFF";
$color[22][code]="#00008B";
$color[23][code]="#008B8B";
$color[24][code]="#B8860B";
$color[25][code]="#A9A9A9";
$color[26][code]="#006400";
$color[27][code]="#BDB76B";
$color[28][code]="#8B008B";
$color[29][code]="#556B2F";
$color[30][code]="#FF8C00";
$color[31][code]="#9932CC";
$color[32][code]="#8B0000";
$color[33][code]="#E9967A";
$color[34][code]="#8FBC8F";
$color[35][code]="#483D8B";
$color[36][code]="#2F4F4F";
$color[37][code]="#00CED1";
$color[38][code]="#9400D3";
$color[39][code]="#FF1493";
$color[40][code]="#00BFFF";
$color[41][code]="#696969";
$color[42][code]="#1E90FF";
$color[43][code]="#B22222";
$color[44][code]="#FFFAF0";
$color[45][code]="#228B22";
$color[46][code]="#FF00FF";
$color[47][code]="#DCDCDC";
$color[48][code]="#F8F8FF";
$color[49][code]="#FFD700";
$color[50][code]="#DAA520";
$color[51][code]="#808080";
$color[52][code]="#008000";
$color[53][code]="#ADFF2F";
$color[54][code]="#F0FFF0";
$color[55][code]="#FF69B4";
$color[56][code]="#CD5C5C";
$color[57][code]="#4B0082";
$color[58][code]="#FFFFF0";
$color[59][code]="#F0E68C";
$color[60][code]="#E6E6FA";
$color[61][code]="#FFF0F5";
$color[62][code]="#7CFC00";
$color[63][code]="#FFFACD";
$color[64][code]="#ADD8E6";
$color[65][code]="#F08080";
$color[66][code]="#E0FFFF";
$color[67][code]="#FAFAD2";
$color[68][code]="#D3D3D3";
$color[69][code]="#90EE90";
$color[70][code]="#FFB6C1";
$color[71][code]="#FFA07A";
$color[72][code]="#20B2AA";
$color[73][code]="#87CEFA";
$color[74][code]="#778899";
$color[75][code]="#B0C4DE";
$color[76][code]="#FFFFE0";
$color[77][code]="#00FF00";
$color[78][code]="#32CD32";
$color[79][code]="#FAF0E6";
$color[80][code]="#FF00FF";
$color[81][code]="#800000";
$color[82][code]="#66CDAA";
$color[83][code]="#0000CD";
$color[84][code]="#BA55D3";
$color[85][code]="#9370D8";
$color[86][code]="#3CB371";
$color[87][code]="#7B68EE";
$color[88][code]="#00FA9A";
$color[89][code]="#48D1CC";
$color[90][code]="#C71585";
$color[91][code]="#191970";
$color[92][code]="#F5FFFA";
$color[93][code]="#FFE4E1";
$color[94][code]="#FFE4B5";
$color[95][code]="#FFDEAD";
$color[96][code]="#000080";
$color[97][code]="#FDF5E6";
$color[98][code]="#808000";
$color[99][code]="#6B8E23";
$color[100][code]="#FFA500";
$color[101][code]="#FF4500";
$color[102][code]="#DA70D6";
$color[103][code]="#EEE8AA";
$color[104][code]="#98FB98";
$color[105][code]="#AFEEEE";
$color[106][code]="#D87093";
$color[107][code]="#FFEFD5";
$color[108][code]="#FFDAB9";
$color[109][code]="#CD853F";
$color[110][code]="#FFC0CB";
$color[111][code]="#DDA0DD";
$color[112][code]="#B0E0E6";
$color[113][code]="#800080";
$color[114][code]="#FF0000";
$color[115][code]="#BC8F8F";
$color[116][code]="#4169E1";
$color[117][code]="#8B4513";
$color[118][code]="#FA8072";
$color[119][code]="#F4A460";
$color[120][code]="#2E8B57";
$color[121][code]="#FFF5EE";
$color[122][code]="#A0522D";
$color[123][code]="#C0C0C0";
$color[124][code]="#87CEEB";
$color[125][code]="#6A5ACD";
$color[126][code]="#708090";
$color[127][code]="#FFFAFA";
$color[128][code]="#00FF7F";
$color[129][code]="#4682B4";
$color[130][code]="#D2B48C";
$color[131][code]="#008080";
$color[132][code]="#D8BFD8";
$color[133][code]="#FF6347";
$color[134][code]="#40E0D0";
$color[135][code]="#EE82EE";
$color[136][code]="#F5DEB3";
$color[137][code]="#FFFFFF";
$color[138][code]="#F5F5F5";
$color[139][code]="#FFFF00";
$color[140][code]="#9ACD32";
?>